<?php
declare(strict_types=1);

use SixShop\Eav\Controller\{AttributeOptionController,
    EntityAttributeController,
    EntityTypeController,
    ValueController};
use think\facade\Route;

Route::resource('entity_type', EntityTypeController::class)->middleware([
    'auth'
]);
Route::resource('entity_attribute', EntityAttributeController::class)->middleware([
    'auth'
]);
Route::resource('attribute_option', AttributeOptionController::class)->middleware([
    'auth'
]);
Route::resource('value', ValueController::class)->middleware([
    'auth'
]);